import React, {Component, PropTypes} from 'react';
import { Router, Route, IndexRoute, browserHistory, Link } from 'react-router';
import { connect } from 'react-redux';
import action from '../Action/Index';
import {Tool, merged} from '../Tool';
import {DataLoad, Footer, UserHeadImg, TabIcon, GetNextPage} from './common/Index';
import {InputSearch} from './common/InputSearch';

class Main extends Component {
    render() {
        return (
            <div className="home-box">
                <InputSearch/>
                <nav className="home-nav" onClick={this.click}>
                    <Link to=""><img src={require('../Images/sprites/tag.png')} alt=""/>优选</Link>
                    <Link to=""><img src={require("../Images/sprites/gift.png")} alt=""/>礼包</Link>
                    <Link to=""><img src={require("../Images/sprites/ticket.png")} alt=""/>卡券</Link>
                    <Link to=""><img src={require("../Images/sprites/hit.png")} alt=""/>专题</Link>
                </nav>
                <Footer index="0" />
            </div>
        )
    }
}


export default Main;